package com.ee.chat.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 主播招呼用语表
 * </p>
 *
 * @author Shane
 * @since 2019-12-30
 */
@TableName("host_call_content")
public class HostCallContent implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id，0表示系统内置招呼用语
	 */
	@TableField(value="user_id")
	private Integer userId;

	/**
	 * 招呼用语
	 */
	private String content;

	/**
	 * 排序，倒序排序
	 */
	@TableField(value="order_id")
	private Integer orderId;

	/**
	 * 
	 */
	@TableField(value="create_time")
	private Date createTime;

	/**
	 * 状态，0-待审核  1-审核成功  2-审核驳回
	 */
	@TableField(value = "`status`")
	private Integer status;

	/**
	 * 理由
	 */
	private String reason;

	/**
	 * 审核时间
	 */
	@TableField(value="audit_time")
	private Date auditTime;

	/**
	 * 审核人员id
	 */
	@TableField(value="audit_user_id")
	private Integer auditUserId;

	public HostCallContent() {
	}

	public HostCallContent(Integer userId, String content, Integer orderId) {
		this.userId = userId;
		this.content = content;
		this.orderId = orderId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public Date getAuditTime() {
		return auditTime;
	}

	public void setAuditTime(Date auditTime) {
		this.auditTime = auditTime;
	}

	public Integer getAuditUserId() {
		return auditUserId;
	}

	public void setAuditUserId(Integer auditUserId) {
		this.auditUserId = auditUserId;
	}

}
